package com.group.marketsupervision;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.bind.annotation.CrossOrigin;

@CrossOrigin(origins = "http://localhost:5173") // todo 后面改成服务器前端地址
@ServletComponentScan
@SpringBootApplication
@EnableScheduling
public class MarketSupervisionApplication {

    public static void main(String[] args) {
        SpringApplication.run(MarketSupervisionApplication.class, args);
    }

}
